<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>codeblocks</Name>
        <Homepage>http://www.codeblocks.org/</Homepage>
        <Packager>
            <Name>Pisi Linux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv3</License>
        <Icon>codeblocks</Icon>
        <IsA>app:gui</IsA>
        <Summary>A free C++ IDE built to meet the most demanding needs of its users</Summary>
        <Description>Code::Blocks is a free C++ IDE built to meet the most demanding needs of its users. It is designed to be very extensible and fully configurable.</Description>
        <Archive sha1sum="70aabe8a948dbaa919eb4b87bc74a600e0d93516" type="targz">https://netix.dl.sourceforge.net/project/codeblocks/Sources/16.01/codeblocks_16.01.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>wxGTK-devel</Dependency>
            <Dependency>wxBase-devel</Dependency>
            <Dependency>xterm</Dependency>
            <Dependency>gtk2-devel</Dependency>
            <Dependency>tinyxml-devel</Dependency>
            <Dependency>imagemagick-devel</Dependency>
            <Dependency>fontconfig-devel</Dependency>
            <Dependency>wxGTK2.8-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch>desktop.patch</Patch>
            <!--<Patch level="1">codeblocks-tinyxml.patch</Patch>
            <Patch level="1">codeblocks-dso.patch</Patch>
            <Patch level="1">codeblocks-tinyxml-26.patch</Patch>
            <Patch level="1">pisilinux-debuggergdb.patch</Patch>
            <Patch level="1">pisilinux-plugin-wx.patch</Patch>-->
            <Patch level="0">pisilinux-wx.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>codeblocks</Name>
        <RuntimeDependencies>
            <Dependency>wxBase</Dependency>
            <Dependency>gtk2</Dependency>
            <Dependency>fontconfig</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>bzip2</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>wxGTK2.8</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="data">/usr/share/applications</Path>
            <Path fileType="data">/usr/share/codeblocks</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="data">/usr/share/icons</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="data">/usr/share/mime</Path>
            <Path fileType="data">/usr/share/pixmaps</Path>
            <Path fileType="library">/usr/lib</Path>
        </Files>
    </Package>
    <Package>
        <Name>codeblocks-devel</Name>
        <Summary>Development files of codeblocks</Summary>
        <RuntimeDependencies>
            <Dependency>codeblocks</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <History>
        <Update release="1">
            <Date>2017-05-10</Date>
            <Version>16.01</Version>
            <Comment>First release.</Comment>
            <Name>Erdinç Gültekin</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
